
#include "epoll_event.hpp"
#include <sys/epoll.h>


EpollEvent::EpollEvent() {

    m_epoll_fd = 0;
}

bool EpollEvent::CreateEpollFd() {

    m_epoll_fd = epoll_create(1024);
    if (m_epoll_fd < 0) {

        return false;
    }
    return true;
}